﻿ALTER TABLE [dbo].[AllowedValues]
    ADD CONSTRAINT [FK_AllowedValues_StateVariable] FOREIGN KEY ([ParentStateVariableId]) REFERENCES [dbo].[StateVariable] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE;

